import request from '@/utils/request'

export function findByPage(query) {
    return request({
      url: '/equipmentMaintenance/findByPage',
      method: 'get',
      params:query //表单数据
    })
  }
  export function updatMaintenance(data) {
    return request({
      url: '/equipmentMaintenance/updatMaintenance',
      method: 'post',
      data
    })
  }
  export function createMaintenance(data) {
    return request({
      url: '/peopleEquipmentMaintenance/createMaintenance',
      method: 'post',
      data
    })
  }
  